package com.eastedu.report.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 报告生成结束时间
 *
 * @author luozhenzhong
 */
@Getter
public class ReportGenerateEndEvent extends ApplicationEvent {

    private final String taskId;
    private final Long time = System.currentTimeMillis();

    /**
     * Instantiates a new Report generate end event.
     *
     * @param taskId the exam id
     */
    public ReportGenerateEndEvent(String taskId) {
        super(taskId);
        this.taskId = taskId;
    }

}
